﻿@model WorkTimePrj.Models.Item

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Item</legend>

    <div class="display-label">Project</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project.code)
    </div>

    <div class="display-label">account</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.account)
    </div>

    <div class="display-label">cost</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.cost)
    </div>

    <div class="display-label">submittime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.submittime)
    </div>

    <div class="display-label">starttime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.starttime)
    </div>

    <div class="display-label">title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.title)
    </div>

    <div class="display-label">status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.status)
    </div>

    <div class="display-label">role</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.role)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
